
<!-- if !IS_AJAX -->

<!--eval echo '</div>'; -->

<div class="footer">
	<p><span class="copyright">淘天机 Copyright &copy; 2017</span> </p>
</div>
<div id='msgTip'></div>

<!--if !empty($headMenu)-->
<script>
	var subMenu = {$subMenu};
	loadLeftMenu($(".header .menu li.cur").index());
	$(".header .menu li").on('click', function(){
		var menuId = $(this).attr("data-menuId");
		if(menuId==0){
			window.location.href = '?m=dashboard';
		}else{
			$(this).addClass('cur').siblings().removeClass('cur');
			loadLeftMenu(menuId);
		}
	});

	$(".left-menu-list li").live('click', function(){
		$(".left-menu-list li").removeClass('cur');
		$(this).addClass('cur');
	})
</script>
<!--/if-->
<script>
	pageInit();
	$(document).pjax('a:not(.unpjax)', '.rightframe', {fragment:'body', timeout:8000});
	$(document).on('submit', '.cp-table-top form', function (event) {
		$.pjax.submit(event, '.rightframe', {fragment:'body', timeout:60000});
	});
    $('.rightframe').on('pjax:start', function() {
		NProgress.start();
	});
    $('.rightframe').on('pjax:end', function() {
		NProgress.done();
		pageInit();
	});
</script>

<!-- /if -->